<?php echo $header;?>
<div id="content">

	<?php
		if(isset($allfriendsnews)){
		foreach($allfriendsnews as $new){
		?>
			<div class="box" >
			<div class="box-heading"><a href="<?php echo $checkplan.$new["user_id"];?>"><?php echo $new["nickname"];?></a>
			<?php 
				if($new["news_type"]==1){
					echo "添加计划";
				}
			?>
			</div>
			<div class="box-content"><a href="<?php echo $viewplan.$new["params"];?>"><?php echo $new["content"].'......';?></a>
			</div>
			</div>	
		<?php
		}}
	?>
<div class="pagination"><?php echo $pagination; ?></div>
</div>
<?php echo $footer;?>